<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="css/swiper-bundle.css" />
    <link rel="stylesheet" href="css/common.css" />
    <link rel="stylesheet" href="css/main.css" />
    <link rel="stylesheet" href="css/index.css" />
    <link rel="stylesheet" href="css/list.css" />
    <title>海房优选</title>
  </head>

  <body>
    <div class="header">
      <div class="bd">
        <div class="top">
          <div class="logo">
            <a href="index.html"><img src="images/logo_1.png" alt="" /></a>
          </div>
          <div class="menu">
            <ul class="menu_list">
              <li class="on"><a href="javascript:void(0)">写字楼租售</a></li>
              <li><a href="javascript:void(0)">产业园区租售</a></li>
              <li><a href="javascript:void(0)">公寓出租</a></li>
              <li><a href="javascript:void(0)">广告投放</a></li>
              <li><a href="javascript:void(0)">关于海房优选</a></li>
            </ul>
            <div class="search search_dialog">
              <dl>
                <dt><img src="images/search_1.png" alt="" /></dt>
                <dd><input type="text" placeholder="请输入关键字" /></dd>
              </dl>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="filter">
      <div class="bd">
        <div class="filter_panel">
          <dl id="filter_type">
            <dt>类型：</dt>
            <dd><span class="on">写字楼</span><span>房源</span></dd>
          </dl>
          <dl>
            <dt>商圈：</dt>
            <dd>
              <span>全部</span>
              <span>公主坟商圈</span>
              <span>双榆树商圈</span>
              <span>金源商圈</span>
              <span>金四季商圈</span>
              <span>中关村商圈</span>
            </dd>
          </dl>
          <dl>
            <dt>区划：</dt>
            <dd>
              <span>全部</span>
              <span>四季青</span>
              <span>海淀</span>
              <span>中关村</span>
              <span>花园路</span>
              <span>学院路</span>
              <span>清华园</span>
              <span>燕园</span>
              <span>西三旗</span>
              <span>上地</span>
              <span>永定路</span>
              <span>万寿路</span>
              <span>甘家口</span>
              <span>八里庄</span>
              <span>紫竹院</span>
              <span>北太平庄</span>
            </dd>
          </dl>
          <dl>
            <dt>地铁：</dt>
            <dd>
              <span>全部</span>
              <span>4号线</span>
              <span>5号线</span>
              <span>6号线</span>
              <span>7号线</span>
              <span>8号线</span>
              <span>9号线</span>
              <span>10号线</span>
              <span>13号线</span>
              <span>14号线</span>
              <span>15号线</span>
            </dd>
          </dl>
          <dl>
            <dt>面积：</dt>
            <dd>
              <span>全部</span>
              <span>100m<sup>2</sup>以下</span>
              <span>100-200m<sup>2</sup></span>
              <span>200-300m<sup>2</sup></span>
              <span>300-500m<sup>2</sup></span>
              <span>500m<sup>2</sup>以上</span>
            </dd>
          </dl>
          <dl>
            <dt>租金：</dt>
            <dd>
              <span>全部</span>
              <span>3元以下</span>
              <span>3-4元</span>
              <span>4-6元</span>
              <span>6-8元</span>
              <span>8-10元</span>
              <span>10-15元</span>
              <span>15-20元</span>
              <span>20元以上</span>
            </dd>
          </dl>
        </div>
      </div>
    </div>
    <div class="bd">
      <div class="list">
        <div class="list_title_tabs">
          <div class="list_title">写字楼</div>
          <div class="list_tabs">
            <span class="on">优选</span>
            <span>出租</span>
            <span id="rent">出售</span>
          </div>
        </div>
        <div class="list_sort_total">
          <div class="list_sort">
            <dl id="ls_1"><span>默认排序</span></dl>
            <dl id="ls_2"><span>按价格排序</span><i></i></dl>
            <dl id="ls_3"><span>按面积排序</span><i></i></dl>
          </div>
          <div class="list_total">
            <span>共<em>807</em>个写字楼信息</span>
          </div>
        </div>
        <div class="list_panel">
          <div class="list_left">
            <ul class="list_inner_box">
              <li>
                <a href="detail_1.html">
                  <dl>
                    <dt><img src="images/list_1.jpg" alt="" /></dt>
                    <dd>
                      <h2>新时代国际中心 A座 5层 B户型</h2>
                      <h4><span>13-14</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>600m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_2.html">
                  <dl>
                    <dt><img src="images/list_2.jpg" alt="" /></dt>
                    <dd>
                      <h2>方正国际大厦 8层 西南户</h2>
                      <h4><span>12-13</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>800m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_1.html">
                  <dl>
                    <dt><img src="images/list_3.jpg" alt="" /></dt>
                    <dd>
                      <h2>奥北科技园 2层 206</h2>
                      <h4><span>11-12</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>410m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_2.html">
                  <dl>
                    <dt><img src="images/list_4.jpg" alt="" /></dt>
                    <dd>
                      <h2>中芯国际大厦 6层 西边户</h2>
                      <h4><span>15-16</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>670m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_1.html">
                  <dl>
                    <dt><img src="images/list_5.jpg" alt="" /></dt>
                    <dd>
                      <h2>搜狐网络科技大厦 B座 11层 1103户</h2>
                      <h4><span>21-22</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>490m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_2.html">
                  <dl>
                    <dt><img src="images/list_6.jpg" alt="" /></dt>
                    <dd>
                      <h2>新时代国际中心 B幢 地下1层</h2>
                      <h4><span>9-12</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>520m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_1.html">
                  <dl>
                    <dt><img src="images/list_7.jpg" alt="" /></dt>
                    <dd>
                      <h2>新东方信息中心 4层 4011户</h2>
                      <h4><span>8-9</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>520m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_2.html">
                  <dl>
                    <dt><img src="images/list_8.jpg" alt="" /></dt>
                    <dd>
                      <h2>裕嘉集团贸易大厦 2层 2001</h2>
                      <h4><span>13-14</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>520m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
              <li>
                <a href="detail_1.html">
                  <dl>
                    <dt><img src="images/list_9.jpg" alt="" /></dt>
                    <dd>
                      <h2>迅达通宇时代中心 3层 302</h2>
                      <h4><span>15-16</span><em>元/m<sup>2</sup>/天</em></h4>
                      <h3>中关村-海淀大街8号<i></i></h3>
                      <h3>520m<sup>2</sup><u>|</u>精装修<u>|</u>可注册</h3>
                      <h3>地铁线路：10号线<u>|</u>14号线</h3>
                      <p>
                        <span>停车位充足</span>
                        <span>商圈内</span>
                        <span>地铁步行五分钟</span>
                      </p>
                    </dd>
                  </dl>
                </a>
              </li>
            </ul>
            <div class="page" id="page">
              <ul>
                <li><i></i></li>
                <li class="on">1</li>
                <li>2</li>
                <li>3</li>
                <li>4</li>
                <li><i></i></li>
              </ul>
            </div>
          </div>
          <div class="list_right">
            <div class="recommend_pic">
              <dl><img src="images/aside_1.jpg" alt="" /></dl>
            </div>
            <div class="recommend_ranks">
              <h3>优选排⾏</h3>
              <ul>
                <ol>
                  <h3>新时代国际中心</h3>
                  <h4>中关村-海淀大街8号</h4>
                  <h5><span>13</span><em>元/m<sup>2</sup>/天</em></h5>
                  <img src="images/ranks_1.png" alt="" />
                </ol>
                <ol>
                  <h3>裕恒时代科技大厦</h3>
                  <h4>中关村-海淀大街8号</h4>
                  <h5><span>13</span><em>元/m<sup>2</sup>/天</em></h5>
                  <img src="images/ranks_2.png" alt="" />
                </ol>
                <ol>
                  <h3>中关村8号</h3>
                  <h4>中关村-海淀大街8号</h4>
                  <h5><span>13</span><em>元/m<sup>2</sup>/天</em></h5>
                  <img src="images/ranks_3.png" alt="" />
                </ol>
                <ol>
                  <h3>丰云汇中心</h3>
                  <h4>中关村-海淀大街8号</h4>
                  <h5><span>13</span><em>元/m<sup>2</sup>/天</em></h5>
                  <img src="images/ranks_4.png" alt="" />
                </ol>
                <ol>
                  <h3>新东方科技大厦</h3>
                  <h4>中关村-海淀大街8号</h4>
                  <h5><span>13</span><em>元/m<sup>2</sup>/天</em></h5>
                  <img src="images/ranks_5.png" alt="" />
                </ol>
              </ul>
            </div>
            <div class="recommend_pic">
              <dl><img src="images/aside_3.jpg" alt="" /></dl>
              <dl><img src="images/aside_4.jpg" alt="" /></dl>
            </div>
            <div class="recommend_hot">
              <h3>政策中心</h3>
              <ul>
                <li>
                  <u>首次购房和二次购房的区别，第一套房卖掉再买属于第几套？</u>
                </li>
                <li>
                  <u>25年1月1日起，北京存量房公积金贷款利率将下调！</u>
                </li>
                <li>
                  <u>新政来了！购买家庭唯一及第二套住房，不超缴纳契税</u>
                </li>
                <li>
                  <u
                    >中国银行：11月1日起可受理客户申请调整存量房贷利率加点值和重定价周期</u
                  >
                </li>
                <li>
                  <u>下降25个基点！LPR迎来年内第三次调整</u>
                </li>
              </ul>
            </div>
            <div class="list_more">
              <div class="more">
                <a href="javascript:void(0)"><span>查看更多</span><i></i></a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="foot">
      <div class="bd">
        <div class="foot_box">
          <div class="foot_panel">
            <div class="fp_left">
              <dl>
                <dt><img src="images/logo_2.png" alt="" /></dt>
                <dd>
                  <h3>客服电话</h3>
                  <h5>4008-666-888</h5>
                </dd>
              </dl>
            </div>
            <div class="fp_right">
              <dl>
                <dt><img src="images/code_1.png" alt="" /></dt>
                <dd><img src="images/code_2.png" alt="" /></dd>
              </dl>
            </div>
          </div>
          <div class="copyright">
            ©2025 北京海房优选房地产经纪有限公司 京ICP备20025040号-1 京公网安备
            11010502040384号 京经纪（2015）第8360号
          </div>
        </div>
      </div>
    </div>
    <div class="aside aside_1">
      <img src="images/ad_1.jpg" alt="" />
    </div>
    <div class="aside aside_2">
      <img src="images/ad_2.jpg" alt="" />
    </div>
    <div class="dialog" style="display: none">
      <div class="dialog_panel">
        <ul class="dialog_search_tabs">
          <li class="on">写字楼</li>
          <li>产业园区</li>
          <li>公寓</li>
        </ul>
        <div class="dialog_search_input">
          <dl>
            <dt><input type="text" placeholder="" /></dt>
            <dd><button>搜索房源</button></dd>
          </dl>
        </div>
        <div class="dialog_search_tags">
          <dl>
            <dt>商圈</dt>
            <dd>
              <span>中关村</span>
              <span>北太平庄</span>
              <span>花园路</span>
              <span>西三旗</span>
            </dd>
          </dl>
          <dl>
            <dt>面积</dt>
            <dd>
              <span>30-60m<sup>2</sup></span>
              <span>60-80m<sup>2</sup></span>
              <span>80-120m<sup>2</sup> </span>
              <span>120-200m<sup>2</sup></span>
            </dd>
          </dl>
          <dl>
            <dt>位置</dt>
            <dd>
              <span>学院路</span>
              <span>八里庄</span>
              <span>紫竹院</span>
              <span>四季青</span>
            </dd>
          </dl>
          <dl>
            <dt>选择</dt>
            <dd>
              <span>200-300m<sup>2</sup></span>
              <span>300-500m<sup>2</sup></span>
              <span>500-800m<sup>2</sup> </span>
              <span>800m<sup>2</sup>以上</span>
            </dd>
          </dl>
        </div>
      </div>
    </div>
  </body>

  <script src="js/jquery.js"></script>
  <script src="js/swiper-bundle.js"></script>
  <script src="js/fun.js"></script>
  <script>
    $(function () {
      $(".filter_panel dd span").click(function () {
        $(this).addClass("on").siblings("span").removeClass("on");
      });

      $(".list_tabs span").click(function () {
        $(this).addClass("on").siblings().removeClass("on");
      });

      // $(".list_sort dl").click(function () {
      //   $(this).toggleClass("on").siblings("dl").removeClass("on");
      // });

      $("#ls_1").click(function () {
        $(this).toggleClass("on").siblings("dl").removeClass("cur");
        $("#ls_3,#ls_2")
          .css({
            color: "#333",
            borderColor: "#999",
          })
          .find("i")
          .css({
            backgroundImage: "url(images/sort_1.png)",
          });
      });

      $("#ls_2").click(function () {
        $("#ls_1").removeClass("on");
        $("#ls_3")
          .removeClass("cur")
          .css({
            color: "#333",
            borderColor: "#999",
          })
          .find("i")
          .css({
            backgroundImage: "url(images/sort_1.png)",
          });

        $(this)
          .css({
            color: "#d92e49",
            borderColor: "#d92e49",
          })
          .find("i")
          .css({
            backgroundImage: "url(images/sort_on_1.png)",
          })
          .parents("dl")
          .toggleClass("cur");
      });

      $("#ls_3").click(function () {
        $("#ls_1").removeClass("on");
        $("#ls_2")
          .removeClass("cur")
          .css({
            color: "#333",
            borderColor: "#999",
          })
          .find("i")
          .css({
            backgroundImage: "url(images/sort_1.png)",
          });

        $(this)
          .css({
            color: "#d92e49",
            borderColor: "#d92e49",
          })
          .find("i")
          .css({
            backgroundImage: "url(images/sort_on_1.png)",
          })
          .parents("dl")
          .toggleClass("cur");
      });

      var results = [
        {
          title: "房源",
          data: [
            {
              title: "新时代国际中心 A座 5层 B户型",
              price: "<span>13</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "方正国际大厦 8层 西南户",
              price: "<span>12</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "奥北科技园 2层 206",
              price: "<span>11</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "中芯国际大厦 6层 西边户",
              price: "<span>15</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "搜狐网络科技大厦 B座 11层 1103户",
              price: "<span>21</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "新时代国际中心 B幢 地下1层 ",
              price: "<span>9</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "新东方信息中心 4层 4011户",
              price: "<span>8</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "裕嘉集团贸易大厦 2层 2001",
              price: "<span>13</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "迅达通宇时代中心 3层 302",
              price: "<span>15</span><em>元/m<sup>2</sup>/天</em>",
            },
          ],
        },
        {
          title: "写字楼",
          data: [
            {
              title: "新时代国际中心",
              price: "<span>13-14</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "方正国际大厦",
              price: "<span>12-13</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "奥北科技园",
              price: "<span>11-12</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "中芯国际大厦",
              price: "<span>15-16</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "搜狐网络科技大厦",
              price: "<span>21-22</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "新时代国际中心",
              price: "<span>9-12</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "新东方信息中心",
              price: "<span>8-9</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "裕嘉集团贸易大厦",
              price: "<span>13-14</span><em>元/m<sup>2</sup>/天</em>",
            },
            {
              title: "迅达通宇时代中心",
              price: "<span>15-16</span><em>元/m<sup>2</sup>/天</em>",
            },
          ],
        },
        {
          title: "出租",
          data: [
            {
              title: "新时代国际中心",
              price: "<span>1300</span><em>万元</em>",
            },
            { title: "方正国际大厦", price: "<span>1200</span><em>万元</em>" },
            { title: "奥北科技园", price: "<span>1100</span><em>万元</em>" },
            { title: "中芯国际大厦", price: "<span>1500</span><em>万元</em>" },
            {
              title: "搜狐网络科技大厦",
              price: "<span>2100</span><em>万元</em>",
            },
            { title: "新时代国际中心", price: "<span>900</span><em>万元</em>" },
            { title: "新东方信息中心", price: "<span>800</span><em>万元</em>" },
            {
              title: "裕嘉集团贸易大厦",
              price: "<span>1200</span><em>万元</em>",
            },
            {
              title: "迅达通宇时代中心",
              price: "<span>1000</span><em>万元</em>",
            },
          ],
        },
      ];

      $("#filter_type dd span").click(function () {
        var tagsTitle = $(this).text();
        var arr = [];
        $(".list_title").text($(this).text());
        switch (tagsTitle) {
          case "写字楼":
            arr = results.filter((item) => item.title === tagsTitle)[0]?.data;
            $(".list_total").html("<span>共<em>807</em>个写字楼信息</span>");
            break;
          case "房源":
            arr = results.filter((item) => item.title === tagsTitle)[0]?.data;
            $(".list_total").html("<span>共<em>2206</em>个房源信息</span>");
            break;
        }
        $("#type").text(tagsTitle);
        $.each(arr, function (index, dom) {
          $(".list_inner_box li")
            .eq(index)
            .find("h2")
            .text(arr[index].title)
            .siblings("h4")
            .html(arr[index].price);
        });
      });

      $("#filter_type dd span").eq(0).click();

      $("#rent").click(function () {
        $.each(results[2].data, function (index, dom) {
          $(".list_inner_box li")
            .eq(index)
            .find("h2")
            .text(results[2].data[index].title)
            .siblings("h4")
            .html(results[2].data[index].price);
        });
      });
    });
  </script>
</html>
